projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fa0edd
)
gtkcombobox: Do not access GtkEntry internals
author
Javier Jardón
<jjardon@gnome.org>
Thu, 21 Oct 2010 11:39:42 +0000
(13:39 +0200)
committer
Javier Jardón
<jjardon@gnome.org>
Fri, 19 Nov 2010 05:15:27 +0000
(06:15 +0100)
It's not needed anymore
gtk/gtkcombobox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcombobox.c
b/gtk/gtkcombobox.c
index 16a4f4a57807bce61a40283da0aa0653089f8ae2..08a4797c3d8d4de96c3cb7cb33c1c8e6bd7bbbd9 100644
(file)
--- a/
gtk/gtkcombobox.c
+++ b/
gtk/gtkcombobox.c
@@
-1420,10
+1420,6
@@
gtk_combo_box_add (GtkContainer *container,
if (priv->has_entry)
{
- /* this flag is a hack to tell the entry to fill its allocation.
- */
- GTK_ENTRY (widget)->is_cell_renderer = TRUE;
-
g_signal_connect (widget, "changed",
G_CALLBACK (gtk_combo_box_entry_contents_changed),
combo_box);
@@
-1451,7
+1447,6
@@
gtk_combo_box_remove (GtkContainer *container,
g_signal_handlers_disconnect_by_func (widget,
gtk_combo_box_entry_contents_changed,
container);
- GTK_ENTRY (widget)->is_cell_renderer = FALSE;
}
}